/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package digitaldreamers.libraries.games.clients.networkmanagement.packets.receiving;

import java.io.IOException;

/**
 * Abstract class for all receivable packet classes.
 *
 * @author DaoLe
 */
public abstract class AbReceivablePacket {

    // Packet ID.
    protected int m_iPacketID;

    /**
     * Read packet data.
     *
     * @param arr_byData The data sent from client.
     * @throws IOException Error that occurred while trying to parse data sent
     * from client.
     */
    public abstract void fromByteArray(byte[] arr_byData) throws Exception;
}